package com.cxx.java.spring.ioc.demo2;

public class A {
    private B b;
    public A(B b){
        this.b=b;
    }
    public void a(){
        System.out.println("aaaaa");
        b.b();
    }
}
